# -*- coding: utf-8 -*-
"""
Created on Tue Jun  5 21:16:41 2018

@author: Administrator
"""
#%%

from agilepipe.statics.voxelpercent import Voxel_percent

mask1_filepath = r'/media/root/Elements4/XuanWu_last_stat/across_subject/PETvsfALFF/PET_SN_SR_SSM-6_del-subj24_z-fALFF_del-subj24_z_masked_cluster_mask.nii'

mask2_filepath = r'/media/root/Elements4/XuanWu_last/mask/three_modality_groupmask/tm_groupmask_gm9.nii'

vp = Voxel_percent(mask1_filepath,mask2_filepath)

print(vp)

#%%

from agilepipe.statics.voxelpercent import Voxel_percent

mask1_filepath = r'/media/root/Elements4/XuanWu_z_sm666_pearson_0607/PET_fALFF/PET_normalised_resliced_smoothed_Zstandardized-fALFF_z_masked_cluster_mask.nii'

mask2_filepath = r'/root/Documents/BrainMask_05_61x73x61.nii'

vp = Voxel_percent(mask1_filepath,mask2_filepath)

print(vp)


#%%

from agilepipe.statics.voxelpercent import Voxel_percent

mask1_filepath = r'/media/root/Elements4/XuanWu_last_stat/across_subject/PETvsReHo/PET_SN_SR_SSM-6_del-subj24_z-ReHo_del-subj24_z_masked_cluster_mask.nii'

mask2_filepath = r'/media/root/Elements4/XuanWu_last/mask/three_modality_groupmask/tm_groupmask_gm9.nii'


vp = Voxel_percent(mask1_filepath,mask2_filepath)

print(vp)













